import api from "@/utils/axios";

// 登录
export const login = (data) => {
  return api.post("user/login", data);
};

// 获取用户信息
export const userInfo = () => {
  return api.get("user/userInfo");
};

export const test = () => {
  return api.get("test/list");
};
